﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TienTeTuong.DAO;
using TienTeTuong.DTO;

namespace TienTeTuong.BUS
{
    public class AdminBUS
    {
        public bool isAdmin(AdminDTO admin)
        {
            AdminDAO adDao = new AdminDAO();
            return adDao.isAdmin(admin);
        }
        
        public bool changePassword(AdminDTO admin)
        {
            AdminDAO adDao = new AdminDAO();
            return adDao.changePassword(admin);
        }

    }
}